package com.zykj.iterator;

/**
 * @author zhoulj(周利军) [1217102780@qq.com]
 * @Title: MenuItem
 * @Project: ${MODEL_NAME}
 * @Module ID:   <(模块)类编号，可以引用系统设计中的类编号>
 * @Comments: <对此类的描述，可以引用系统设计中的描述>
 * @JDK version used:      <JDK1.8> 14
 * @since 2019/1/7-21:14
 */
public class MenuItem {
    private String name;
    private String description;
    // 是否是素食
    private boolean vegetarian;
    private double price;

    public MenuItem(String name, String
                    description, boolean vegetarian, double price) {
        this.name = name;
        this.description = description;
        this.vegetarian = vegetarian;
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public boolean isVegetarian() {
        return vegetarian;
    }

    public double getPrice() {
        return price;
    }
}
